<script setup lang="ts">
import BasicLayout from "@/layouts/BasicLayout.vue";
import AdminLayout from "@/layouts/AdminLayout.vue";
import { useLayoutsStore } from "@/stores/LayoutsState.ts";
import {storeToRefs} from "pinia";

const layoutStore = useLayoutsStore();
const { state } = storeToRefs(layoutStore);

</script>

<template>
  <div v-if="state ==='basic'">
    <BasicLayout />
  </div>
  <div v-else>
    <AdminLayout />
  </div>

</template>

<style scoped>
</style>
